package cn.iocoder.yudao.module.cont.controller.admin.base.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 合同收付款记录表 分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PayInfoPageReqVO extends PageParam {

    @Schema(description = "合同编号", example = "9932")
    private String htid;

    @Schema(description = "阶段号")
    private String jdh;

    @Schema(description = "收付款类型")
    private String sfklx;

    @Schema(description = "收付款方向")
    private String sfkfx;

    @Schema(description = "应收付金额")
    private BigDecimal ysfje;

    @Schema(description = "实际应收付金额")
    private BigDecimal sjysfje;

    @Schema(description = "实际收付金额")
    private BigDecimal sjsfje;

    @Schema(description = "未收付金额")
    private BigDecimal wsfje;

    @Schema(description = "应收付日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] ysfrq;

    @Schema(description = "实际应收付日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime sjysfrq;

    @Schema(description = "差额原因")
    private String ceyy;

    @Schema(description = "支付方式")
    private String zffs;

    @Schema(description = "收付款单据号")
    private String djh;

    @Schema(description = "结算时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime jssj;

    @Schema(description = "结算单据号")
    private String jsdjh;

    @Schema(description = "是否开具发票")
    private Boolean sfkjfp;

    @Schema(description = "发票号")
    private String fph;

    @Schema(description = "开票单位")
    private String khfzr;

    @Schema(description = "发票金额")
    private BigDecimal fpjr;

    @Schema(description = "经手人")
    private String jsr;

    @Schema(description = "票据运送方式")
    private String pjysfs;

    @Schema(description = "票据运输号")
    private String pjysh;

    @Schema(description = "备注")
    private String bz;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}